<?php

use Biz\service\theParagraph\CategoryClassify as sCategoryClassify;
use Biz\tools\GoodsExposureLog;
/**
 * @deprecated
 */
class GoodsListAction extends ActionPlugin
{
	const USER_LEVEL = self::LEVEL_NOTHING;

	public function main()
	{
		$secClassifyId = $this->getRequest()->getQuery('sec_classify_id');
		$page = $this->getRequest()->getQuery('page', 1);
		$sortType = $this->getRequest()->getQuery('sort_type',0);
		$results = sCategoryClassify::getGoodsListByClassifyId($secClassifyId,$sortType,$page);

		$this->setSuccess($results);
        GoodsExposureLog::addLog($this->getRequest(), $results,$secClassifyId);

	}
}